const KEY = 'vue3-geek-token'

const auth = {
  getToken() {
    return localStorage.getItem(KEY)
  },
  setToken(value: string) {
    localStorage.setItem(KEY, value)
  },
  removeToken() {
    localStorage.removeItem(KEY)
  },
}
export default auth
